import request from './../utils/request'

export function getProlist (params) {
  return request.get('/pro/list', { params })
}
// export function updateisseckill (params){
//     return request.get('/pro/updateisseckill',{params})
// }

export function updateFlag (params) {
  return request.post('/pro/updateFlag', params)
}

export function getcategory(params){
  return request.get('/pro/getcategory',{ params })
}
export function searchpro(params){
  return request.get('/pro/searchpro',{ params })
}

export function showdata(params){
  return request.post('/pro/showdata', params )
}
